//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "tools\fn_setHeight.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

private ["_object","_height","_posASL"];
DEFAULT_PARAM(_object,0,objNull);
DEFAULT_PARAM(_height,1,0);

_posASL = getPosASL(_object);
_posASL set [2, ((_posASL select 2) + _height)];

_object setPosASL _posASL;

TRACE_1("End",_posASL);
TMFPROFILERSTOP;
